package com.qingcheng.service.comment;

import com.qingcheng.entity.PageResult;
import com.qingcheng.pojo.comment.Reply;

import java.util.List;
import java.util.Map;
import java.util.*;

public interface ReplyService {

    /**
     * 根据传输的信息查找所有的评论评价
     * @param commentID
     * @return
     */
    public List<Reply> findAllByCommentId(String commentID);

    /**
     * 新增评价评论
     * @param reply
     */

    public List<Reply> findAll();


    public PageResult<Reply> findPage(int page, int size);


    public List<Reply> findList(Map<String, Object> searchMap);


    public PageResult<Reply> findPage(Map<String, Object> searchMap, int page, int size);


    public Reply findById(String id);

    public void add(Reply reply);


    public void update(Reply reply);


    public void delete(String id);


}
